#pragma once

#include "../umlmodel_global.h"

#include "FinalNode.h"

namespace uml {

/// <summary>
/// ActivityFinalNode
/// An ActivityFinalNode is a FinalNode that terminates the execution of its owning
/// Activity or StructuredActivityNode.
/// </summary>
class UMLMODEL_EXPORT ActivityFinalNode : public FinalNode {

public: // Constructors and destructors
    explicit ActivityFinalNode(const QString& umlType="uml::ActivityFinalNode");

public: // JsonSerializable override
    void fromJson(const QJsonObject& json, QStringList& errorList) override;
    void toJson(QJsonObject& json) override;

};

} // namespace uml
